package com.ebupt.migu.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @description: 客群有效通知接口
 * @author: liuyangyang@ebupt.com
 * @date: 2021/8/31 14:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ValidRequestBean implements Serializable {

    /**
     * 客群ID
     */
    private String customerId;

    /**
     * 是否生效状态
     * 0- 无效
     * 1- 有效
     * 9- 已删除
     */
    private int status;

    /**
     * 是否有动态规则
     * 0- 否
     * 1- 是
     */
    private int isDynamic;

    @Override
    public String toString() {
        return "ValidRequestBean{" +
                "customerId='" + customerId + '\'' +
                ", status=" + status +
                ", isDynamic=" + isDynamic +
                '}';
    }
}
